package edu.xmut.kakamusic.utils;

import android.content.Intent;

import java.io.Serializable;

public class IntentUtils {

    public static Intent createIntent(String action) {
        return new Intent(action);
    }

    public static Intent createIntentWithData(String action, String key, Serializable object) {
        Intent intent = new Intent(action);
        intent.putExtra(key, object);
        return intent;
    }

}
